<?php

/**
* 
*/
class Db
{
    
    public static function table()
    {
        return new self();
    }

    public function find()
    {
        echo "find";
    }

    public function where()
    {
        echo "where";
        return $this;
    }
}
// 链式操作
Db::table()->where()->find();